package cn.zhentao.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class OrderVo {
    //订单表主键
    private Integer id;
    //图片路径
    private String src;
    //手机类型
    private String phoneType;
    //颜色名称
    private String colorName;
    //版本名称
    private String versionName;
    //价格名称
    private Double prices;
    //订单数量
    private Integer num;
    //订单状态
    private Integer orderState;
    private String aname;
    private String addressName;
    private String addPhone;
    //收货时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receivingTime;

}
